<?php

class Application_Form_Login extends Zend_Form
{

    public function init()
    {
        $this->setName('login');       
        $login = new Zend_Form_Element_Text('login');
        $login->setLabel('Login')
                ->setRequired(true);
                
        $mdp = new Zend_Form_Element_Password('mdp');
        $mdp->setLabel('Mot de passe')
                ->setRequired(true);
                
         $envoyer = new Zend_Form_Element_Submit('envoyer');
        $envoyer->setAttrib('id', 'Envoyer');

        $this->addElements(array($login,$mdp,$envoyer));
    }


}

